<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #app{
            width: 400px;
            height: 600px;
            /* background-color: aqua; */
            border: 1px solid #888;
            margin: 100px;
        }
       h1{
        margin: 20px;
       }
        .body input{
            width: 360px;
            height: 30px;
            margin: 20px;
            border: none;
            border-bottom: 1px solid#888;
        }
        .bottom button{
            text-align: center;
            width: 360px;
            height: 30px;
            margin:20px;
            border-radius: 5px;
            background-color: #888;
        }
        .bottom .bottom1{
            margin:0 20px;
            display: flex;
            justify-content: space-between;
        }
        .didi{
            display: flex;
            margin-top: 150px;
        }
        .didi button{
            border-radius: 50%;
            width: 10px;
            height: 20px;
            margin-top: 15px;
            margin-left: 20px;
            margin-right: 5px;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="title">
            <h1>密码登录</h1>
        </div>
        <div class="body">
            <input type="text" placeholder="手机/用户名"v-model="form.phone">
            <input type="text" placeholder="密码"v-model="form.pass">
        </div>
        <div class="bottom">
            <button @click="action()">登录</button>
            <div class="bottom1">
                <a href="">手机号登录</a>
                <a href="">忘记密码</a>
            </div>
        </div>
        <div class="didi">
            <button></button>
            <p>已阅读并同意 <a href="">《用户服务协议》、《隐私政策》</a> </p>
        </div>
    </div>
</body>
<script src="./vue-2.5.21.js"></script>
<script>
    var v=new Vue({
        el:'#app',
        data:{
            form:{phone:'',pass:''}
           
        },
        methods:{
            action(){
                console.log(this.form);
        }
        }

    })
</script>
</html>